#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <vector>

int
main(void)
{
	std::vector<int> a;
	int i, n, x;

	while (scanf("%d", &x) == 1) {
		a.push_back(x);
		std::cout << "pushed " << x << " to the vector\n";
	}

	std::cout << "vector is empty? " << a.empty() << "\n";
	std::cout << "vector capacity: " << a.capacity() << "\n";
	std::cout << "vector.max_size=" << a.max_size() << "\n";
	std::cout << "vector.size=" << a.size() << "\n";

	return 0;
}
